Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Lights


Q3Light_GetColor

You can use the Q3Light_GetColor function to get the current color of a light.

TQ3Status Q3Light_GetColor (
TQ3LightObject light, 
TQ3ColorRGB *color);
light
A light object.
color
On exit, a pointer to a TQ3ColorRGB structure specifying the current color of the specified light.
DESCRIPTION
The Q3Light_GetColor function returns, in the color parameter, the current color of the light specified by the light parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996